import React from 'react';
import { Link } from 'react-router-dom';
import LogoHeader from '../../../components/Header/LogoHeader';

import styles from './index.module.less';

export default class SendEmail extends React.Component {
  render() {
    const rightContent = (
      <div className={ styles.menuBox }>
        <Link className={ styles.menuItem } to='/'>首页</Link>
        <Link className={ styles.menuItem } to='/login'>登录</Link>
        <Link className={ styles.menuItem } to='/register'>注册</Link>
        <Link className={ styles.menuItem } to='/'>帮助中心</Link>
      </div>
    );

    return (
      <React.Fragment>
        <LogoHeader moduleName='重置密码' rightContent={ rightContent } />
        <div className={styles.content}>
          <div className={styles.box}>
            <div className={styles.text1}>我们已向xxxxxxxx@xxxx.com发送重置邮件</div>
            <div className={styles.text2}>
              <div>1.请登录邮箱，按照邮件内容进行重置密码;</div>
              <div>2.没有收到邮件？确认邮箱是否正常使用并检查垃圾邮件;</div>
              <div>3.网络通讯异常也可能造成邮件丢失，请重新获取或稍后再试。</div>
            </div>
            <div className={styles.text3}>
              <button>重新发送验证邮件</button>
            </div>
            <div className={styles.text4}>
              <span className={styles.s1}>遇到麻烦？</span>
              <span>请致电客服协助您400-681-6018(周一至周日 9:30-17:00)</span>
            </div>
          </div>
        </div>
      </React.Fragment>
    );
  }
}
